package com.ls.pattern.behavior.mediator;

public class Main {
    public static void main(String[] args) {
        Mediator mediator = new ConcreteMediator();
        TV tv = new TV(mediator,"tv");
        CoffeeMachine machine = new CoffeeMachine(mediator, "machine");
        tv.sendTV(0);
        machine.sendCoffeeMachine(1);
    }
}
